<div class="layui-tab layui-tab-card">
  <ul class="layui-tab-title">
    <li class="layui-this">订单</li>
  </ul>
    <div class="layui-tab-content" style="height: 100px;">
      <div class="layui-tab-item">
        <table class="layui-table">
          <thead>
            <tr>
              <th>订单号</th>
              <th>下单时间</th>
              <th>商品价格</th>
              <th>商品信息</th>
              <th>买方信息</th>
              <th>卖方信息</th>
              <th>支付凭证</th>
              <th>状态</th>
            </tr> 
          </thead>
          <tbody>
            {foreach name="order" item="va" key="k"}
            <tr>
              <td>{$va.order_no}</td>
              <td>{$va.create_time}</td>
              <td>{$va.g_price/100}</td>
              <td>{$va.goodsname}</td>
              <td>{$va.buyer}</td>
              <td>{$va.saler}</td>
              <!-- <td>{$va.img}</td> -->
              <td><a class="layui-btn layui-btn-xs layui-btn-normal view_img" data-id="{$va.id}">查看</a></td>
              <td>
                {eq name="va.state" value="-1"}已删除{/eq}
                {eq name="va.state" value="0"}未上架{/eq}
                {eq name="va.state" value="1"}已上架{/eq}
                {eq name="va.state" value="2"}待支付{/eq}
                {eq name="va.state" value="3"}已支付{/eq}
                {eq name="va.state" value="4"}已确认{/eq}
                {eq name="va.state" value="5"}待解决{/eq}
                {eq name="va.state" value="6"}已提货{/eq}
                {eq name="va.state" value="7"}已发货{/eq}
              </td>
            </tr>
            {/foreach}
          </tbody>
        </table>
      </div>
    </div>
  </div>
  <script src="/static/plugs/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<script src="/static/plugs/layui-v2.5.6/layui.all.js?v=1667474900" charset="utf-8"></script>
<link id="layuicss-layer" rel="stylesheet" href="/static/plugs/layui-v2.5.6/css/modules/layer/default/layer.css?v=3.1.1" media="all">

